package com.zys.el.time.vojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("专注分析类")
public class AbsorbedAnalysis {
    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("专注总时长")
    private String absorbedDuration;

    @ApiModelProperty("专注次数")
    private Long absorbedTimes;

    @ApiModelProperty("具体专注信息")
    private List<AbsorbedDetail> absorbedDetailList;

    public AbsorbedAnalysis() {
    }

    public AbsorbedAnalysis(Long userId, String absorbedDuration, Long absorbedTimes,
                            List<AbsorbedDetail> absorbedDetailList) {
        this.userId = userId;
        this.absorbedDuration = absorbedDuration;
        this.absorbedTimes = absorbedTimes;
        this.absorbedDetailList = absorbedDetailList;
    }
}
